package com.jjy.ideaplugin;

import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij.openapi.ui.Messages;

/**
 * 弹窗展示快捷键
 *
 * @author jinjiayu 2023/12/28
 */
public class QuickKeyAction extends AnAction {
    @Override
    public void actionPerformed(AnActionEvent e) {
        StringBuilder stringBuilder = new StringBuilder();
        stringBuilder.append("自动代码补全: ALT + 回车;").append("\n");
        stringBuilder.append("全局搜索: CTRL+SHIFT+F;").append("\n");
        Messages.showInfoMessage(stringBuilder.toString(), "常用IDEA快捷键");
    }
}